package com.gtw.modules.sys.DTO;

import com.gtw.modules.entity.TbCommodity;
import com.gtw.modules.entity.TbCommodityProperty;
import com.gtw.modules.entity.TbProperty;

import java.io.Serializable;

/**
 * 商品属性扩展类
 * Created by wuye on 2018/3/2.
 */
public class CommodityPropertyDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 商品信息
     */
    private TbCommodity tbCommodity;

    /**
     * 属性信息
     */
    private TbProperty tbProperty;

    /**
     * 中间
     */
    private TbCommodityProperty tbCommodityProperty;

    public CommodityPropertyDTO() {
    }

    public CommodityPropertyDTO(TbCommodity tbCommodity, TbProperty tbProperty, TbCommodityProperty tbCommodityProperty) {
        this.tbCommodity = tbCommodity;
        this.tbProperty = tbProperty;
        this.tbCommodityProperty = tbCommodityProperty;
    }

    public TbCommodity getTbCommodity() {
        return tbCommodity;
    }

    public void setTbCommodity(TbCommodity tbCommodity) {
        this.tbCommodity = tbCommodity;
    }

    public TbProperty getTbProperty() {
        return tbProperty;
    }

    public void setTbProperty(TbProperty tbProperty) {
        this.tbProperty = tbProperty;
    }

    public TbCommodityProperty getTbCommodityProperty() {
        return tbCommodityProperty;
    }

    public void setTbCommodityProperty(TbCommodityProperty tbCommodityProperty) {
        this.tbCommodityProperty = tbCommodityProperty;
    }
}
